﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace SchoolManagerMVC.Repository.MetaData
{
    [MetadataType(typeof(StudentInCourseMeta))]
    public partial class StudentInCourse
    {
    }

    public class StudentInCourseMeta
    {
        [Required(ErrorMessage="Student is Required")]
        public int StudentID { get; set; }
        [Required(ErrorMessage = "Course is Required")]
        public int CourseID { get; set; }
    }
}
